package net.moon;

import net.moon.factory.PayMethodFactory;
import net.moon.method.IPayMethod;

/**
 * @author moonlan
 * date 2021/3/20 上午10:56
 */
@SuppressWarnings(value = "unused")
public class Client {
    public static void main(String[] args) {
        IPayMethod instance = PayMethodFactory.getInstance().getPayMethodInstance();
        instance.pay(5);
    }
}
